package com.d3works.apps.production.service;

import com.d3works.apps.production.db.ProdProcessLine;
import com.d3works.apps.production.db.WorkCenterGroup;
import com.d3works.exception.D3worksException;
import java.math.BigDecimal;

public interface ProdProcessLineService {

  public void setWorkCenterGroup(ProdProcessLine prodProcessLine, WorkCenterGroup workCenterGroup)
      throws D3worksException;

  /**
   * Computethe entire cycle duration of the prod process line with qty given.
   *
   * @param prodProcessLine
   * @param qty
   * @throws D3worksException
   */
  public long computeEntireCycleDuration(ProdProcessLine prodProcessLine, BigDecimal qty)
      throws D3worksException;
}
